<?php

Yii::import('application.models._base.BaseCatalog');

class Catalog extends BaseCatalog
{
    /**
     * @return Catalog
     */
    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }

    public static function label($n = 1)
    {
        return Yii::t('app', 'Catalog|Catalogs', $n);
    }

    public function behaviors() {
        return array_merge(array(
//            'sluggable' => array(
//                'class'=>'ext.behaviors.SluggableBehavior.SluggableBehavior',
//                'columns' => array('catalog_name'),
//                'update' => true,
//            ),
//            'metadata' => array(
//                'class'=>'ext.behaviors.MetadataBehavior.MetadataBehavior',
//                'columns'=> array('catalog_name'),
//                'update' => true,
//            ),
        ), parent::behaviors());
    }


}